import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
const store = new Vuex.Store({
    state: {
		uid: uni.getStorageSync("userInfo").uid?uni.getStorageSync("userInfo").uid:'',
		_id: uni.getStorageSync("userInfo")._id?uni.getStorageSync("userInfo")._id:'',
		color: '#c5dde3',  // 导航栏背景色
		colorIndex: 0, // 导航栏背景色下标
	},
    mutations: {},
    actions: {}
})
export default store